// 默认流程XML模板
export const defaultXml = `<?xml version="1.0" encoding="UTF-8"?>
<bpmn2:definitions
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL"
  xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI"
  xmlns:dc="http://www.omg.org/spec/DD/20100524/DC"
  xmlns:di="http://www.omg.org/spec/DD/20100524/DI"
  id="diagram_flowable"
  targetNamespace="http://flowable.org/bpmn">
  <bpmn2:process id="Process_1" isExecutable="true">
    <bpmn2:startEvent id="StartEvent_1" name="开始">
      <bpmn2:outgoing>Flow_0ynhi6v</bpmn2:outgoing>
    </bpmn2:startEvent>
    <bpmn2:userTask id="ApplyUserTask" name="发起申请" flowable:assignee="\${initiator}" flowable:approvalMode="assignee" flowable:emptyAssigneeStrategy="autoApprove">
      <bpmn2:incoming>Flow_0ynhi6v</bpmn2:incoming>
    </bpmn2:userTask>
    <bpmn2:sequenceFlow id="Flow_0ynhi6v" sourceRef="StartEvent_1" targetRef="ApplyUserTask" />
  </bpmn2:process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_1">
    <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_1">
      <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
        <dc:Bounds x="112" y="240" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="119" y="283" width="23" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="ApplyUserTask_di" bpmnElement="ApplyUserTask">
        <dc:Bounds x="200" y="218" width="100" height="80" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="Flow_0ynhi6v_di" bpmnElement="Flow_0ynhi6v">
        <di:waypoint x="148" y="258" />
        <di:waypoint x="200" y="258" />
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</bpmn2:definitions>`;
